package com.zjc.yohoshop.mvp.view.adapter;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zjc.yohoshop.R;
import com.zjc.yohoshop.bean.SeeListEntity;
import com.zjc.yohoshop.network.API;

public class SeeListBrandAdapter extends BaseQuickAdapter<SeeListEntity.BannerBean, BaseViewHolder> {
    public SeeListBrandAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, SeeListEntity.BannerBean item) {
        Glide.with(helper.itemView.getContext()).load(API.BaseUrl + item.recommend_url).into((ImageView) helper.getView(R.id.iv_item_see_list_brand));
    }
}
